cc.Class({
    extends: cc.Component,

    properties: {
        button: cc.Button,
    },

    onButtonClicked: function () {
        console.log('button clicked!');
    }
});
